#set terminal post enhanced
set terminal postscript eps enhanced color
set grid
set xlabel "Minimum Probability Threshold for Rule Filtering"
set ylabel "BLEU"
set ticslevel 0
set xr [0:1]
set xtics ( 0.02, 0.1, 0.2, 0.3, 0.5, 0.7, 1.0)

set lmargin	10
set bmargin	10
set rmargin	10
set tmargin	10


set output "output/ins-bleu-eval.ps"
set yr [18.5:20]
set ytics ( 16, 17, 18, 19, 19.72, 19.86, 20, 20.5, 21, 22, 23 )
set key 0.99, 19
plot	\
	"ins-data/d1-f3-eval.data" using 1:3 title "Proposed (depth-1 freq>3 rules)"  with linespoints lw 5 ,\
	"ins-data/d2-f3-eval.data" using 1:3 title "Proposed (depth-2 freq>3 rules)"  with linespoint  lw 5 ,\
	"ins-data/d2-f2-eval.data" using 1:3 title "Proposed (depth-2 freq>2 rules)"  with linespoint  lw 5 ,\
	"ins-data/d2-f2-eval.data" using 1:4 title "Baseline (no rule)"  with lines lw 5 


set output "output/ins-bleu-eval2.ps"
set key 0.99, 19.8
set yr [19:21.5]
set ytics ( 19, 20, 21.03, 21.29 )
plot	\
	"ins-data/d1-f3-eval2.data" using 1:3 title "Proposed (depth-1 freq>3 rules)"  with linespoints lw 5 ,\
	"ins-data/d2-f3-eval2.data" using 1:3 title "Proposed (depth-2 freq>3 rules)"  with linespoint  lw 5 ,\
	"ins-data/d2-f2-eval2.data" using 1:3 title "Proposed (depth-2 freq>2 rules)"  with linespoint  lw 5 ,\
	"ins-data/d2-f2-eval2.data" using 1:4 title "Baseline (no rule)"  with lines lw 5

